package com.jiai.cloud.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 订单详情表
 * </p>
 *
 * @author Yanghu
 * @since 2017-05-24
 */
@TableName("t_orderdetails")
public class TOrderdetails extends Model<TOrderdetails> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
	private Integer id;
    /**
     * 订单编号
     */
	private String orderId;
    /**
     * 商品编号
     */
	private Integer goodsId;
    /**
     * 商品名称
     */
	private String orderName;
    /**
     * 商品数量
     */
	private Integer orderCont;
    /**
     * 商品价格
     */
	private Integer orderPrice;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public Integer getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public Integer getOrderCont() {
		return orderCont;
	}

	public void setOrderCont(Integer orderCont) {
		this.orderCont = orderCont;
	}

	public Integer getOrderPrice() {
		return orderPrice;
	}

	public void setOrderPrice(Integer orderPrice) {
		this.orderPrice = orderPrice;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
